package com.liy.cloud.common.pw.entity;

import com.das.framework.common.vo.BaseVO;

import java.io.Serializable;

/**
 * 存储本站对应的库存信息实体类
 * 作者: liyang
 * 日期：2018-06-28 16:10:34
 * 描述：
 */
public class PwSystemStorageEntity extends BaseVO<String> implements Serializable {

    private static final long serialVersionUID = 1L;

    /*
     * 物品类型
     */
    private String type;

    /*
     * 物品ID
     */
    private String itemId;
    // 物品ID - 对应物品名称  非数据库字段
    private String itemIdName;

    /*
     * 有效期
     */
    private String validTime;

    /*
     * 物品状态
     */
    private String status;

    /*
     * 当前数量
     */
    private Long currentNum;

    /*
     * 当前金额
     */
    private Double currentMoney;

    /*
     * 车站编号
     */
    private String systemId;


    /**
     * 默认构造方法
     **/
    public PwSystemStorageEntity() {
        super();
    }

    /**
     * @Description: 有参构造 ( 车站编号  物品ID  物品状态)
     **/
    public PwSystemStorageEntity(String systemId, String itemId, String status) {
        this.systemId = systemId;
        this.itemId = itemId;
        this.status = status;
    }

    /**
     * @Author: liyang
     * @Date: 2018/9/3  13:36
     * @Description: 有参构造 (车站编号 物品类型)
     **/
    public PwSystemStorageEntity(String systemId, String type) {
        this.systemId = systemId;
        this.type = type;
    }


    /**
     * getger和setter方法
     */

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getValidTime() {
        return validTime;
    }

    public void setValidTime(String validTime) {
        this.validTime = validTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getCurrentNum() {
        return currentNum;
    }

    public void setCurrentNum(Long currentNum) {
        this.currentNum = currentNum;
    }

    public Double getCurrentMoney() {
        return currentMoney;
    }

    public void setCurrentMoney(Double currentMoney) {
        this.currentMoney = currentMoney;
    }

    public String getSystemId() {
        return systemId;
    }

    public void setSystemId(String systemId) {
        this.systemId = systemId;
    }

    public String getItemIdName() {
        return itemIdName;
    }

    public void setItemIdName(String itemIdName) {
        this.itemIdName = itemIdName;
    }
}